extern SQLRETURN op_alloc_env(SQLHENV *env);
extern SQLRETURN op_alloc_connect(SQLHENV env, SQLHDBC *dbc);
extern SQLRETURN  op_set_connect_attr(SQLHDBC hdbc,
									  SQLINTEGER attribute,
									  SQLPOINTER attr_value,
									  SQLINTEGER attr_value_length);
extern  SQLRETURN op_alloc_stmt(SQLHDBC dbc, SQLHSTMT *stmt);
extern SQLRETURN op_free_env(SQLHENV env);
extern SQLRETURN op_free_connect(SQLHDBC dbc);
extern SQLRETURN op_free_stmt(SQLHSTMT stmt, SQLUSMALLINT opt);
extern SQLRETURN op_prepare(SQLHSTMT stmt, SQLCHAR *query, SQLINTEGER queryLen);
extern SQLRETURN op_bind_param(SQLHSTMT stmt, SQLUSMALLINT pnum, SQLSMALLINT iotype,
							   SQLSMALLINT buftype, SQLSMALLINT ptype, SQLUINTEGER coldef,
							   SQLSMALLINT scale, SQLPOINTER data, SQLINTEGER buflen, SQLLEN *len);
extern SQLRETURN op_execute(SQLHSTMT stmt, int initial);
